﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ReadWaterlevelData
{
    public partial class DateForm : Form
    {
        public DateTime StartDate;
        public DateTime EndDate;

        public DateForm()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            StartDate = DateTime.Parse(txtDateStart.Value.ToString("yyyy-MM-dd") + " " + txtTimeStart.Text);
            EndDate = DateTime.Parse(txtDateEnd.Value.ToString("yyyy-MM-dd") + " " + txtTimeEnd.Text);
        }
    }
}
